package com.liupei.user.mapper;

import com.liupei.user.entity.SysUser;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author liu pei
 * @since 2021-03-14
 */
@Mapper
public interface SysUserMapper extends BaseMapper<SysUser> {

    /**
     *  根据用户名查询用户信息
     * @param username
     * @return
     */
    SysUser seleUserByUserName(@Param("username") String username);

}
